cars = ['bmw', 'audi', 'toyota', 'subaru']
cars.sort()
print(cars)
print('==================')
cars.sort(reverse=True)
print(cars)
print('==================')
cars = ['bmw', 'audi', 'toyota', 'subaru']
print('Here is the original list:')
print(cars)
print('Here is the sorted list:')
print(sorted(cars))
print('Here is the original list:')
print(cars)
print('Here is the sorted(reverse=True) list:')
print(sorted(cars, reverse=True))
print('******************')
print(cars)
cars.reverse()
print(cars)
print(len(cars))

print('&&&&&&&&&&&&&&&&&&&&&&')
address = ['huangshan', 'changcheng', 'xiameng', 'emeishang']
print(address)
print(sorted(address))
print(address)
print(sorted(address, reverse=True))
print(address)
address.reverse()
print(address)
address.reverse()
print(address)
address.sort()
print(address)
address.sort(reverse=True)
print(address)
